package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.PhysicianCase;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PhysicianCaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhysicianCase record);

    int insertSelective(PhysicianCase record);

    PhysicianCase selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhysicianCase record);

    int updateByPrimaryKey(PhysicianCase record);

    Integer countByCondition(@Param("physicianId") Integer physicianId, @Param("type") Integer type);

    List<PhysicianCase> getByPhysicianId(@Param("physicianId") Integer physicianId, @Param("type") Integer type);

    List<PhysicianCase> listByCondition(@Param("physicianId") Integer physicianId, @Param("type") Integer type, @Param("page") int page, @Param("limit") Integer limit);
}